<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<form action="/addBook" metrod="post" style="widtr: 300px">
    <table border="1">
        <tr>
            <td>书名:</td>
            <td><input type="text" value="" name="BookName"></td>
            <td style="color:red">
                <p th:text="${bookNameValidateInfo}"></p>
            </td>
        </tr>
        <tr>
        <td>作者:</td>
        <td><input type="text" value="" name="Author"></td>
            <td  style="color:red">
                <p th:text="${AuthorValidateInfo}"></p>
            </td>

        </tr>
        <tr>
        <td>价格:</td>
        <td><input type="text" value="" name="Price"></td>
            <td style="color:red">
                <p th:text="${PriceValidateInfo}"></p>
            </td>

        </tr>
        <tr>
            <td colspan="2" style="text-align: center">
                <input type="submit" value="添加">

            </td>
        </tr>
    </table>
    <a href="/add">>>>点击添加书籍<<<</a><br>
    <a href="/search">>>>点击查询书籍<<<</a>

</form>
</body>
</html>